home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / mac / files / t_sys5 / 92052tar.gz / 920528.tar / n8250.h < prev    next >
C/C++ Source or Header  |  1992-05-28  |  793b  |  35 lines

  1. /* @(#) $Header: n8250.h,v 1.5 92/05/26 10:08:47 deyke Exp $ */
  2.  
  3. /* Various I/O definitions specific to asynch I/O */
  4. #ifndef _8250_H
  5. #define _8250_H
  6.  
  7. #ifndef _MBUF_H
  8. #include "mbuf.h"
  9. #endif
  10.  
  11. #ifndef _IFACE_H
  12. #include "iface.h"
  13. #endif
  14.  
  15. /* Asynch controller control block */
  16. struct asy {
  17.     struct iface *iface;
  18.  
  19.     int fd;                 /* File descriptor */
  20.  
  21.     struct mbuf *sndq;      /* Transmit queue */
  22.  
  23.     long speed;             /* Line speed in bits per second */
  24.  
  25.     long rxints;            /* receive interrupts */
  26.     long txints;            /* transmit interrupts */
  27.     long rxchar;            /* Received characters */
  28.     long txchar;            /* Transmitted characters */
  29.     long rxhiwat;           /* High water mark on hardware rx fifo */
  30. };
  31.  
  32. extern struct asy Asy[];
  33.  
  34. #endif  /* _8250_H */
  35.